package ort.test.oscache;

import java.util.Set;

import com.opensymphony.oscache.base.Config;
import com.opensymphony.oscache.base.persistence.CachePersistenceException;
import com.opensymphony.oscache.base.persistence.PersistenceListener;

public class DiskListener implements PersistenceListener {

    public boolean isStored(String key) throws CachePersistenceException {
        System.out.println("isStored");
        return false;
    }

    public boolean isGroupStored(String groupName)
            throws CachePersistenceException {
        System.out.println("isGroupStored");
        return false;
    }

    public void clear() throws CachePersistenceException {
        System.out.println("clear");

    }

    public PersistenceListener configure(Config config) {
        System.out.println("configure");
        return null;
    }

    public void remove(String key) throws CachePersistenceException {
        System.out.println("remove");

    }

    public void removeGroup(String groupName) throws CachePersistenceException {
        System.out.println("removeGroup");

    }

    public Object retrieve(String key) throws CachePersistenceException {
        System.out.println("retrieve");
        return null;
    }

    public void store(String key, Object obj) throws CachePersistenceException {
        System.out.println("store");

    }

    public void storeGroup(String groupName, Set group)
            throws CachePersistenceException {
        System.out.println("storeGroup");

    }

    public Set retrieveGroup(String groupName) throws CachePersistenceException {
        System.out.println("retrieveGroup");
        return null;
    }

}
